package com.erp.service.impl;

import com.erp.domain.ErpOutboundAudit;
import com.erp.domain.ErpProductVO;
import com.erp.domain.OutboundAuditVO;
import com.erp.mapper.ErpOutboundAuditMapper;
import com.erp.service.IErpOutboundAuditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:lxs
 * @CreateTime: 2025-09-05
 * @Description:出库审核业务层实现类
 */
@Service
public class ErpOutboundAuditServiceImpl implements IErpOutboundAuditService {
    @Autowired
    private ErpOutboundAuditMapper erpOutboundAuditMapper;
    @Override
    public List<OutboundAuditVO> list(ErpOutboundAudit erpOutboundAudit) {
        return erpOutboundAuditMapper.list(erpOutboundAudit);
    }

    @Override
    public int updateAudit(OutboundAuditVO outboundAuditVO) {
        return erpOutboundAuditMapper.updateAudit(outboundAuditVO);
    }

    @Override
    public List<ErpProductVO> getListProduct(String outboundNo) {
        return erpOutboundAuditMapper.getListProduct(outboundNo);
    }
}
